<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<div class="modal-dialog ms-modal-dialog">
  <div class="modal-content">

    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
      <h4 class="modal-title">Choose Quality</h4>
    </div>

    <div class="modal-body">
    
      <form class="form-horizontal ms-form modal-search-form" role="form" method="POST" action="${ctx.host}/overall-comments-calibrations/choose-quality" data-validate="true">

        <input type="hidden" name="_method" value="PATCH"/>
        <div class="modal-body">

          <div class="form-group x-form-group">
            <label class="col-xs-3 control-label">Quality:</label>
            <div class="col-xs-7 pull-left">
              <select name="strongestOptions" class="select2 form-control" multiple>
                  <option value="1">Qualify A</option>
                  <option value="2">Qualify B</option>
                  <option value="3">Qualify C</option>
                  <option value="4">Qualify D</option>
              </select>
            </div>
           </div>
            
        </div>
        
        <div class="modal-footer">
          <button type="submit" class="btn ms-btn btn-primary">Next Step</button>
          <button type="button" class="btn ms-btn ms-btn-gary" data-dismiss="modal">Cancel</button>
        </div>

        </form>
        
      </div>

    </div>
  </div>

<script type="text/javascript">
$('select').select2({
    placeholder : 'Please Choose One Option',
    minimumResultsForSearch : 5,
    allowClear : false,
  });
</script>
